package cn.getech.data.development.service;

import cn.getech.data.development.entity.BdpRealTaskAlarmSendLog;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 实时任务告警发送告警的记录表 服务类
 * </p>
 *
 * @author hujz
 * @since 2021-04-08
 */
public interface IBdpRealTaskAlarmSendLogService extends IService<BdpRealTaskAlarmSendLog> {

    void deleteLogs(Integer alarmId);

    void deleteLogs(Integer alarmId, List<Integer> deleteTaskMenuIds);

    /***
     * 定时检测是不满足，，免打扰时间了，则需要推送邮件了
     */
    void cronCheackSendLogs();

    void deleteLogsByTriggerCondition(Integer alarmId, Integer triggerCondition);
}
